package com.wimcorp.magic.behaviour.counter;

import javax.persistence.Entity;

import com.wimcorp.magic.behaviour.Behaviour;

@Entity
public class Counter extends Behaviour implements CounterBehavior{

	private int power;
	private int toughness;

	public Counter(){}

	public Counter(int power, int toughness){
		this.power = power;
		this.toughness = toughness;
	}
	
	public String toString(){
		return  String.format("Adds a %s/%s counter",power,toughness);
	}

	public int getPower() {
		return power;
	}

	public int getToughness() {
		return toughness;
	}

	public void setPower(int power) {
		this.power = power;
	}

	public void setToughness(int toughness) {
		this.toughness = toughness;
	}
	
	
	
}
